home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 40
/
Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso
/
Aminet
/
dev
/
basic
/
ActiveWindow.readme
< prev
next >
Wrap
Text File
|
2000-11-01
|
2KB
|
46 lines
Short: Sample code for auto activating window
Author: damir.arh@telesat.si (Damir Arh)
Uploader: damir.arh@telesat.si (Damir Arh)
Type: dev/basic
Requires: Blitz Basic 2.1, AmigaLibsII.res
This source code is completely free. You can redistribute and/or modify it
without any restrictions whatsoever.
It demonstrates how to open a window which automaticaly activates itself as
long as its screen is the front one. Extensive comments also make it easy to
learn from it or to modify it to your own needs.
The routine is particularily useful in cases where you open your own screen and
a window on it which then receives all the events through IDCMP messages and
also changes the pointer. By using this routine you can always know when your
screen is the front one and you can activate the window without the user having
to intervene.
Apart from the routine itself the archive also contains a small demo
executable. Information on how to use the routine are included in the source
code.
I'd like to thank David McMinn who helped me a lot when writing this routine.
S-mail: Damir Arh
Titova 89
SI-4270 Jesenice
Slovenia
E-mail: damir.arh@telesat.si
WWW: http://damir.gajba.net/
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
19404 10993 43.3% 30-Aug-00 13:25:18 +ActiveWindow
1682 808 51.9% 30-Aug-00 13:24:04 +ActiveWindow.asc
1219 651 46.5% 30-Aug-00 13:40:50 +ActiveWindow.readme
-------- ------- ----- --------- --------
22305 12452 44.1% 02-Sep-100 14:30:22 3 files